{% extends 'base.html' %}
{% block content %}
    {% load static %}
    <title>设置新密码</title>
    <link rel="stylesheet" href="{% static 'store/css/mobi.css' %}">
    <style>
        .errorlist {
            color: red;
        }
    </style>
    <div class="flex-center">
        <div class="container">
            <div class="flex-center">
                <div class="unit-1-2 unit-1-on-mobile">
                    <h3>设置新密码</h3>
                    <form class="form" method="post">
                        {% csrf_token %}
                        {{ form.non_field_errors }}
                        {% for field in form %}
                            {{ field.label_tag }}
                            {{ field }}
                            {{ field.errors }}
                            {% if field.help_text %}
                                <p class="help text-small text-muted">{{ field.help_text|safe }}</p>
                            {% endif %}
                        {% endfor %}
                        <button type="submit" class="btn btn-primary btn-block">提交</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
{% endblock %}